<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2022/4/1 0001
 * Time: 1:00
 */

namespace validate;


class AuthValidate extends BaseValidate
{

    protected $rule = [
        'name'=>'require',
        'card'=>'require|isCard',
    ];
    protected $message = [
        'name'=>'真实姓名不能为空',
        'card.require'=>'身份证号不能为空',
        'card.isCard'=>'身份证号格式不正确'
    ];
}